#pragma once
#include "PropHolder.h"

class CScriptProp :
	public CPropHolder
{
	friend class CPropWrapper;
public:
	CScriptProp(const CString& szScript);
	 ~CScriptProp();

	virtual bool AddItems();

	virtual int Low(){return m_nLow;}
	virtual int Up(){return m_nUp;}

	void SetLow(int nLow){m_nLow = nLow;}
	void SetUp(int nUp){m_nUp = nUp;}
	
private:
	int m_nLow;
	int m_nUp;
	CString m_szScript;
};